<div data-th-insert="shop/product/spuAdd"></div>   
<div class="container-fluid p-t-15">
  <div class="row">
    <div class="col-lg-12">
      <div class="card">
      <header class="card-header"><div class="card-title"><th:block th:text="${product.postTitle}"></th:block> -规格管理</div></header>
        <div class="card-body">
          <div id="toolbar" class="toolbar-btn-action">
            <button id="btn_add" type="button" class="btn btn-primary m-r-5" data-toggle="modal" data-target="#addSpuModal">
              <span class="mdi mdi-plus" aria-hidden="true"></span>新增
            </button>
            <button id="btn_delete" type="button" class="btn btn-danger" onclick="deleteSpus()">
              <span class="mdi mdi-window-close" aria-hidden="true"></span>删除
            </button>
          </div>  
          <div class="table-responsive">
            <table id="spuTable" class="table text-nowrap"></table>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script th:inline="javascript">
    var productId = '[[${productId}]]';
</script>
<link rel="stylesheet" type="text/css" href="/js/bootstrap-table/bootstrap-table.min.css"/>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/app/shop/productspu/spu.js"></script>
<script type="text/javascript" src="/js/app/shop/productspu/spuAdd.js"></script>